Can I use reflection to find the bin/[Configuration] folder in ASP.NET instead of the asp temporary
Posted
by vfilby
on Stack Overflow
See other posts from Stack Overflow
or by vfilby
Published on 2010-03-11T18:58:40Z
Indexed on
2010/03/11
19:09 UTC
Read the original article
Hit count: 218
I have an ASP.NET website and I want to find the /bin/[Configuration] folder to use an external tool. When I use reflection to get calling assemblies location it returns something similar to:
C:\Windows\Microsoft.NET\Framework\...\Temporary ASP.NET Files\a1388a5e\...\my.dll
Since each dll has its own directory under the temp ASP.NET Files this fails for me.
How can I get the location of the binary, not asp.net's temporary cache?
© Stack Overflow or respective owner